home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / pvquan16.zip / ANIMDAT / COMMON.H < prev    next >
C/C++ Source or Header  |  1992-11-30  |  1KB  |  38 lines

  1. /*--------------------------------------------------------------*/
  2. /*            ANIMDAT 1.1                */
  3. /*        copyright 1992 - TODD SANKEY            */
  4. /*                                */
  5. /*  The author hereby grants permission for the use and sharing    */
  6. /* of both source code end executable versions of this software    */
  7. /* at no charge. This software is not for sale and no other    */
  8. /* shall charge for it without the expressed consent of the    */
  9. /* author.                            */
  10. /*                                */
  11. /*  The source code can be freely modified, but it must retain    */
  12. /* the original copyright notice, and the author must be    */
  13. /* notified of these changes if the altered code is to be    */
  14. /* distributed.                            */
  15. /*--------------------------------------------------------------*/
  16. /*------------------------------------------------------*/
  17. /* common.h        Common variables.        */
  18. /*------------------------------------------------------*/
  19.  
  20. #ifndef common_h
  21. #define common_h
  22.  
  23. #include "error.h"
  24. #include "scanner.h"
  25. #include "btree.h"
  26. #include "symtab.h"
  27.  
  28. #ifndef RAND_MAX            /* For use in random number generator */
  29. #define RAND_MAX 32767            /* Not automatically defined in gcc */
  30. #endif
  31.  
  32. extern sym_ptr        symbol_table;    /* Table of defined symbols as a binary tree */
  33. extern char        cur_line[];    /* Line of source file currently being parsed */
  34. extern char        *cur_file;    /* Name of file currently being parsed */
  35. extern unsigned    int    cur_line_num;    /* Line number in file being parsed */
  36.  
  37. #endif
  38.